package com.ymatou.userservice.service;

import org.json.JSONObject;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*重置用户登录密码接口Call
*FreeMaker Template自动生成代码
*/
public class PasswordResetRequestDtoCall extends YmatouBaseCall{
	private static String opurl ="json/reply/PasswordResetRequestDto";
	
	public PasswordResetRequestDtoCall() {
		super(EnvSetup.getSystemUrl("api_userservice"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	/**
	 * 获取SuccessMessage
	 * 
	 * @return
	 */
	public String getSuccessMessage() {
		
		return getString("SuccessMessage");
	}
	
	/**
	 * 获取ResponseCode
	 * 
	 * @return
	 */
	public String getResponseCode() {
		
		return getString("ResponseCode");
	}
	
	/**
	 * 获取Success
	 * 
	 * @return
	 */
	public String getSuccess() {
		
		return getString("Success");
	}
	
	/**
	 * 获取Result
	 * 
	 * @return
	 */
	public String getResult() {
		
		return getString("Result");
	}
	
	/**
	 * 获取LastErrorMessage
	 * 
	 * @return
	 */
	public String getLastErrorMessage() {
		
		return getString("LastErrorMessage");
	}

}